using CodePlex.DnD4eCampaignManager.DnD4e.Interfaces;
using CodePlex.DnD4eCampaignManager.Presentation.ViewInterfaces;
using CodePlex.DnD4eCampaignManager.Repositories.Interfaces;

namespace CodePlex.DnD4eCampaignManager.Presentation
{
    public class CharacterPresenter
    {
        public CharacterPresenter(ICharacterView view, IPlayerCharacterRepository playerCharacterRepository)
        {
            View = view;
            PlayerCharacterRepository = playerCharacterRepository;
        }

        private IPlayerCharacterRepository PlayerCharacterRepository { get; set; }
        private ICharacterView View { get; set; }

        public void Display()
        {
            IPlayerCharacter playerCharacter = PlayerCharacterRepository.GetByName(View.CharacterName);
        }
    }
}